Ensure we use a stable DUID for DHCPv6 exchanges#267
Draft
bnaecker wants to merge 1 commit into
Draft
Conversation
eb9ed95 to
e6e15de
Compare
a3b919d to
69cca33
Compare
- Package `ndpd.conf` in the switch zone with defaults that preclude DHCPv6 on any interface. - After fetching the correct, stable MAC addresses from the switch SP, `dpd` now uses the base MAC to write out a DUID to a file where illumos's `dhpcagent` can pick it up and use it later in exchanges. It then starts DHCP on that interface, after ensuring a link-local IPv6 address derived from that MAC address exists as well. - Some misc cleanup, logging improvements, `IdOrdMap` over `BTreeMap`
69cca33 to
46c1981
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ndpd.confin the switch zone with defaults that preclude DHCPv6 on any interface.dpdnow uses the base MAC to write out a DUID to a file where illumos'sdhpcagentcan pick it up and use it later in exchanges.tfportdnow creates both a link-local address and allows DHCPv6 to run on the interface as well. This should triggerdhcpagent, which would pick up the stable DUID from the previous item.IdOrdMapoverBTreeMap